package main

import (
	"fmt"
	"os"
)

func main() {

	fileinfo, err := os.Stat("D:\\environment\\GoWorks\\src\\Go_Study_Project\\数组\\demo01.go")
	if err != nil {
		return
	}
	fmt.Println(fileinfo.Name())
	fmt.Println(fileinfo.Size())
	fmt.Println(fileinfo.IsDir())
	fmt.Println(fileinfo.ModTime())
	fmt.Println(fileinfo.Mode())
}
